﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/default.Master" AutoEventWireup="true"
    CodeBehind="Farm-Add.aspx.cs" Inherits="NRCP.MetaData.Farm_Add" %>

<%@ Register Assembly="NRCP" Namespace="UI.Library.Web" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br class="clear" />
    <div class="grid_24 alpha">
        <cc1:ResponseMessage ID="rm" runat="server"></cc1:ResponseMessage>
    </div>
    <br class="clear" />
    <div class="grid_24 alpha">
        <label>
            Registration No</label>
        <br />
        <asp:TextBox ID="tbRegistrationNo" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvRegistrationNo" ControlToValidate="tbRegistrationNo"
            SetFocusOnError="true" CssClass="validation-message" runat="server" ErrorMessage="* required"
            ValidationGroup="valgrpCRUD"></asp:RequiredFieldValidator>
        <br />
        <label>
            Address</label>
        <br />
        <asp:TextBox ID="tbAddress" runat="server" TextMode="MultiLine" Rows="5"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvAddress" ControlToValidate="tbAddress"
            SetFocusOnError="true" CssClass="validation-message" runat="server" ErrorMessage="* required"
            ValidationGroup="valgrpCRUD"></asp:RequiredFieldValidator>
        <br />
        <asp:Button ID="bSave" runat="server" Text="Save" CssClass="button medium green"
            OnClick="bSave_Click" ValidationGroup="valgrpCRUD" />
    </div>
</asp:Content>